fun upperIt1(s: String): String = s.uppercase() + s.uppercase()
fun func1(s: String): String = upperIt1(s)
Function Call | Return Value | |||
---|---|---|---|---|
func1("abc") | → | |||
func1("table") | → | |||
func1("house") | → |
Experiment with this code on Gitpod.io or as a Kotlin Playground